-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Real™ package™)™ #425
(Real™ package™)™ #425
Conversation
8386f99
to
90a0a82
Compare
d216d6c
to
224b3c8
Compare
"volta": { | ||
"node": "12.22.3", | ||
"yarn": "1.22.11" | ||
"node": "20.11.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node is here v20, but in ci scripts v18... maybe its better to hold sync
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point -- node is actually irrelevant now, so I can clean up CI a bit, let it be defaults.
Replaces: #345
BREAKING:
Maybe breaking:
Overall output:
A note on the diff:
a type=module packages is more of a real package than a v2 addon (currently) because v2 addons are often CJS masquerading as ESM. When a package.json does not have
type=module
specified, it's assumed that the.js
extension means "Common JS" / require. This isn't great if we want to be better integrated with broader ecosystem tooling. So, since@ember/string
does not depend on any ember APIs, it's actually a great candidate for using real ESM, ahead of auto-import/embroider releasing fixes for ESM "ember-addon" packages. (An ember-addon is a package withember-addon
in its keywords list)Where'd the test-app go?
I deleted it. This work is under the assumption that, because we don't use anything from ember, and because vitest knows nothing about ember, some basic unit tests ensure that the package works, and would be compatible with all versions of ember that have ember-auto-import or are using embroider.